/**
 * 手写bind
 * @param {function} context 
 * @param  {...any} args 
 * @returns 
 */
const myBind = function(context,...args){
    const self = this;
    args = args?args:[];
    return function Fn(...newArgs) {
        // context = this instanceof Fn ? new self(...newArgs) : context;
        return self.apply(context,[...args,...newArgs])
    }
}